package com.hxc.service;

import com.github.pagehelper.PageInfo;
import com.hxc.pojo.News;
import com.hxc.pojo.NewsExt;

import java.util.List;

public interface NewsService {

    List<News> findAll();

    void deleteAll(List<Object> list);

    PageInfo<NewsExt> getNewsList(NewsExt newsExt, Integer pageNum, Integer pageSize);
}
